package com.example.test01.mysql_test.mapper;

import com.example.test01.mysql_test.entity.StudentEntity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
//@Repository  // 如果使用这个，在springboot启动类上配置  @MapperScan ...
public interface StudentMapper {

    List<StudentEntity> queryStudent();

//    @Insert()
    void save(StudentEntity studentEntity);
}
